package com.example.unveil_the_leader.service;

import com.example.unveil_the_leader.common.Result;
import com.example.unveil_the_leader.entity.Applys;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* @author XCT
* @description 针对表【applys】的数据库操作Service
* @createDate 2024-01-26 15:58:16
*/
public interface ApplysService extends IService<Applys> {

    //发送消息
    Result sendMessage(int sid,int gid,String message);

    //查看消息
    Result getMessage(int gid);

    //阅读消息
    Result readMessage(int uid);

    //删除消息（一条）
    Result deleteOne(int uid ,int id);

    //删除消息（全部）
    Result deleteAll(int uid);
}
